package cn.huihuo.weibo.module;

import com.jfinal.plugin.activerecord.Model;

import java.util.List;

/**
 * Created by zhengjunbo on 2015/10/13.
 */
public class BuyChannel extends Model<BuyChannel> {
    public static final BuyChannel buyChannel= new BuyChannel();

    public List<BuyChannel> getBuyChannelByProdId(Integer prodId){
        return find("select * from buychannel where prod_id = ?",prodId);
    }
}
